package com.mirana.module.common.model;

import com.mirana.frame.base.model.BaseModel;
import com.mirana.frame.db.base.anno.ColumnPlus;
import com.mirana.frame.db.base.anno.Notes;
import com.mirana.frame.db.base.anno.TablePlus;
import com.mirana.frame.db.base.extend.type.MysqlTypeEnum;
import lombok.Data;

/**
 * Created by Administrator on 2017/12/31.
 */
@Data
@Notes("测试dbgenerator")
@TablePlus(name = "mc_test")
public class McTest extends BaseModel {

    @Notes("测试String")
    @ColumnPlus
    private String aa;

    @Notes("测试Text")
    @ColumnPlus(sqlType = MysqlTypeEnum.TEXT)
    private String bb;

    @Notes("测试Blob")
    @ColumnPlus(sqlType = MysqlTypeEnum.BLOB)
    private String cc;

    @Notes("测试int")
    @ColumnPlus
    private int dd;

    @Notes("测试Integer")
    @ColumnPlus
    private Integer ee;

    @Notes("测试long")
    @ColumnPlus
    private long ff;

    @Notes("测试Long")
    @ColumnPlus
    private Long gg;


}